package ltd.newbee.mall.enums;

import lombok.Getter;

/**
 * @ClassName: ProductCategoryEnum
 * @Description: 商品种类枚举类
 * @Author: Emily
 * @Date: 2021-09-02 20:35
 * @Version 1.0
 */
@Getter
public enum ProductCategoryEnum
{
    FOOD(0, "食品"),
    GROCERY(1, "日用杂品"),
    APPLIANCE(2,"家用电器");
    // 注意格式

    private final Integer code;

    private final String message;

    ProductCategoryEnum(Integer code, String message)
    {
        this.code = code;
        this.message = message;
    }
}
